//
//  BaseCollectionViewCell.h
//  公考神器
//
//  Created by 毕武侠 on 16/3/14.
//  Copyright © 2016年 毕武侠. All rights reserved.
//

#import <UIKit/UIKit.h>

// 以后将它和tableViewCell中的Delegate 提取出来
@protocol cellDidActionDelegate <NSObject>

@optional
- (void)actionIndexPath:(NSIndexPath *)indexPath infoData:(id)data;

@end

@interface BaseCollectionViewCell : UICollectionViewCell

@property (nonatomic, assign) NSUInteger     count;
@property (nonatomic, strong) NSIndexPath   *indexPath;
@property (nonatomic, strong) BaseModel     *model;
@property (nonatomic, weak)  id<cellDidActionDelegate> actionDelegate;

- (void)bindModel:(BaseModel *)model;

@end
